package com.cn.bukeManage.service;

import java.util.List;
import java.util.Map;
import org.springframework.ui.Model;


public interface CouponService {

	public List<Map<String, Object>> getAllCouponsSet(Model model,Integer currentPage);

	public Integer addNewCoupons(Integer knock,Integer fullRedultion,String beginString,String overString,String beginTime,String failureTime,Integer forWho);

	public Integer updateCoupons(Integer couponsId,Integer knock,Integer fullRedultion,String beginString,String overString,String beginTime,String failureTime,Integer forWho);

	public List<Map<String, Object>> getAllCouponsByForWho(Model model, Integer forWho,Integer currentPage);

	public Map<String, Object> getCouponsById(Integer couponsId);

}
